package com.rytx.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.rytx.common.annotation.Excel;
import com.rytx.common.core.domain.BaseEntity;

/**
 * 收货地址对象 shipping_addresses
 * 
 * @author rytx
 * @date 2024-07-01
 */
public class ShippingAddresses extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 收件人姓名 */
    @Excel(name = "收件人姓名")
    private String recipientName;

    /** 街道地址 */
    @Excel(name = "街道地址")
    private String streetAddress;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 城市编码 */
    @Excel(name = "城市编码")
    private String cityCode;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 省编码 */
    @Excel(name = "省编码")
    private String provinceCode;

    /** 区/县 */
    @Excel(name = "区/县")
    private String district;

    /** 区/县编码 */
    @Excel(name = "区/县编码")
    private String districtCode;

    /** 是否默认 */
    @Excel(name = "是否默认")
    private String isDefault;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phoneNumber;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setRecipientName(String recipientName) 
    {
        this.recipientName = recipientName;
    }

    public String getRecipientName() 
    {
        return recipientName;
    }
    public void setStreetAddress(String streetAddress) 
    {
        this.streetAddress = streetAddress;
    }

    public String getStreetAddress() 
    {
        return streetAddress;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setCityCode(String cityCode) 
    {
        this.cityCode = cityCode;
    }

    public String getCityCode() 
    {
        return cityCode;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setProvinceCode(String provinceCode) 
    {
        this.provinceCode = provinceCode;
    }

    public String getProvinceCode() 
    {
        return provinceCode;
    }
    public void setDistrict(String district) 
    {
        this.district = district;
    }

    public String getDistrict() 
    {
        return district;
    }
    public void setDistrictCode(String districtCode) 
    {
        this.districtCode = districtCode;
    }

    public String getDistrictCode() 
    {
        return districtCode;
    }
    public void setIsDefault(String isDefault) 
    {
        this.isDefault = isDefault;
    }

    public String getIsDefault() 
    {
        return isDefault;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("recipientName", getRecipientName())
            .append("streetAddress", getStreetAddress())
            .append("city", getCity())
            .append("cityCode", getCityCode())
            .append("province", getProvince())
            .append("provinceCode", getProvinceCode())
            .append("district", getDistrict())
            .append("districtCode", getDistrictCode())
            .append("isDefault", getIsDefault())
            .append("phoneNumber", getPhoneNumber())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
